package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.entity.CommonEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author wux
 * @date 2023/5/31 15:59
 */
@Data
@TableName("t_prod_inv_record")
@ApiModel(value = "产品库存表")
public class TProdInvRecord extends CommonEntity implements Serializable {
    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "产品库存id")
    private Long invId;

    @ApiModelProperty(value = "操作类型 1入库 2出库")
    private Integer type;

    @ApiModelProperty(value = "操作数量")
    private Integer operateNum;

    @ApiModelProperty(value = "生产批次号")
    private String batchCode;

    @ApiModelProperty(value = "收货人")
    private String consignee;

    @ApiModelProperty(value = "收货人签名")
    private String signImage;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "使用部位")
    private String usedPart;

}
